package cn.stu.cms.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

import static cn.stu.cms.common.CommonConstants.NO_PARAMS_MSG;

/**
 * 角色菜单Dto
 *
 * @author gh
 * @date 2023/10/13
 */

@Data
public class RoleMenuDto {
    /**
     * RM ID
     */
    private Long rmId;
    /**
     * 角色ID
     */
    @NotNull(message = NO_PARAMS_MSG)
    private Long roleId;
    /**
     * ID列表菜单
     */
    private List<Long> menuIds;
}
